package it.antonio.ilpizze.servlet.render;



public class JsonString extends Json {
	private String value;

	public JsonString(String value) {
		super();
		this.value = value;
	}

	@Override
	public String toJson() {
		StringBuffer result = new StringBuffer();
		result.append("\"");
		result.append(JsonUtil.escapeToJson(value));
		result.append("\"");
		return result.toString();
	}

}
